message("compile wav")

aux_source_directory(./  SRC)

ADD_LIBRARY(wav SHARED ${SRC})

install(TARGETS wav
        EXPORT MyLibTargets 
        LIBRARY DESTINATION lib  # 动态库安装路径
        ARCHIVE DESTINATION lib  # 静态库安装路径
        RUNTIME DESTINATION bin  # 可执行文件安装路径
        PUBLIC_HEADER DESTINATION include  # 头文件安装路径
        )

install(FILES WavFile.h  DESTINATION  ${CMAKE_INSTALL_PREFIX}/include/)
#install(DIRECTORY ./include/json DESTINATION  ${CMAKE_INSTALL_PREFIX}/include/)



